@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font: 14px/1.5 Open Sans, -apple-system, BlinkMacSystemFont, Helvetica Neue,
    Helvetica, Segoe UI, Arial, Roboto, PingFang SC, miui, Hiragino Sans GB,
    Microsoft Yahei, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

p {
  margin: 0;
  padding: 0;
}

.no-padding {
  padding: 0px !important;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.multi-ellipsis {
  @include multi-ellipsis(2);
}

// scrollbar
::-webkit-scrollbar {
  display: none;
}

// ckeditor inline z-index
:root {
  --ck-z-default: 2000 !important;
}

.data-null {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  .data-img {
    width: 150px;
    height: 150px;
    color: #999;
    font-size: 30px;
    text-align: center;
  }
  .data-tip {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    line-height: 20px;
  }
}

.container {
  width: 1200px;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 0 auto;
}
